Companion

object Companion

Contains declarations for holding or building a NonZeroInt.

Functions

Link copied to clipboard
@SinceKotoolsTypes(version = "3.0")
fun random(): NonZeroInt

Returns a random NonZeroInt.

Properties

Link copied to clipboard

The maximum value a NonZeroInt can have.

Link copied to clipboard

The minimum value a NonZeroInt can have.

Link copied to clipboard
@ExperimentalSinceKotoolsTypes(version = "4.2")
val negativeRange: NotEmptyRange<StrictlyNegativeInt>

The negative range of values a NonZeroInt can have.

Link copied to clipboard
@ExperimentalSinceKotoolsTypes(version = "4.2")
val positiveRange: NotEmptyRange<StrictlyPositiveInt>

The positive range of values a NonZeroInt can have.